//
//  TopBarView.h
//  WXD头标签
//
//  Created by mac on 17/7/1.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol TopBarViewDelegate<NSObject>
@optional
-(void)backActionOfdelegater;
@end
@interface TopBarView : UIView
{
    @private
     UIButton *back;
     UIButton *add;
     UILabel *tittle;
     UIView *line;
}
@property(retain,nonatomic)id<TopBarViewDelegate>delegate;


-(void)setToptittle:(NSString *)Tittle;
-(void)setTopTittleColor:(UIColor *)color;
-(void)setTopBgColor:(UIColor *)color;
-(void)setBackBtnHide:(BOOL)hide;
-(void)setBackBtnImage:(UIImage *)image;
-(void)setBackBtnTittle:(NSString *)btnTittle;
-(void)setTopLineHide:(BOOL)hide;
@end
